
// 回复 博主头像 点赞 举报的大小
@replyH: 18px;
@commtH: 22px;



//手机
@media screen and (max-width: 768px) {
    .header-content{
        
    }
}

//平板小屏幕电脑
@media screen and (min-width: 769px) {
    #wrap{
        background-color: #f0eef5;
        #header{
            background-color: #169fe6;
            .navigator-content{
                position: relative;
                width: 1200px;
                overflow: hidden;
                border: 1px solid #138cca;
                border-left: none;
                border-right: none;
               .navigator{
                    margin: 0 auto;
                    float: left;
                    ul{
                        overflow: hidden;
                        li{
                            float: left;
                            font-size: 19px;
                            a{
                                padding: 20px;
                                color: #fff;
                                &:hover{
                                    background-color: #fff;
                                    color: #2a2a2a;
                                }
                            }
                        }
                    }
               }
               .search{
                   float: left;
                   position: absolute;
                   top: 50%;
                   right: 0;
                   margin: -15px 0 0 20px;
                   height: 30px;
                   width: 200px;
                   background-color: #fff;
                   border-radius: 5px;
                   line-height: 30px;
                   padding-left: 15px;
                   span{
                       position: absolute;
                       right: 0;
                       top: 0;
                       height: 100%;
                       padding: 0 5px;
                       cursor: pointer;
                       transition: 0.5s color;
                       &:hover{
                           color: #777;
                       }
                   }
               }
            }
        }
        #main{
            .mainContent{
                margin: 20px auto;
                width: 1200px;
                > div{
                    float: left;
                }
                #main-left{
                    width: 880px;
                    >div{
                        margin-bottom: 30px;
                        background: #fff;
                        .show-title{
                            position: relative;
                            cursor: pointer;
                            margin-bottom: 10px;
                            &:hover{
                                background-color: #e3e3e3;
                                color: #fff;
                            }
                            .title-text{
                                float: left;
                                color: #666;
                                padding: 10px;
                            }
                            img{
                                position: absolute;
                                right: 10px;
                                top: 50%;
                                margin-top: -10px;
                                width: 20px;
                                height: 20px;
                            }
                        }
                    }
                    .main-top{
                        // 博文信息操作灯
                        padding: 20px;
                        .write-opa{
                            .write-type{
                                margin: 20px 0;
                                >div{
                                    padding: 5px 0;
                                    span{
                                        display: inline;
                                    }
                                    a{
                                        display: inline;
                                        &:hover{
                                            color: #169fe6;
                                            text-decoration: underline;
                                        }
                                    }
                                }
                            }
                            .write-opa-list{
                                line-height: 30px;
                                padding: 10px 0;
                                border: 1px dashed #ffc74d;
                                a{
                                    float: left;
                                    margin: 0 10px;
                                    img{
                                        width: 30px;
                                        height: 30px;
                                        
                                    }
                                }
                                .color{
                                    padding: 0 15px;
                                    font-size: 12px;
                                    color: #fff;
                                    border-radius: 10px;
                                    box-shadow: 0 1px 3px rgba(0,0,0,.5);
                                }
                                #concern-me{
                                    background-color: #e33100;
                                    &:hover{
                                        background-color: #ea623c;
                                    }
                                }
                                #collect{
                                    background-color: #2daebf;
                                    &:hover{
                                        background-color: #5ec1ce;
                                    }
                                }
                                .left{
                                    float: left;
                                }
                                .right{
                                    float: right;
                                    span{
                                        float: left;
                                        color: #777;
                                        margin-left: 10px;
                                    }
                                    img{
                                        float: left;
                                    }
                                }
                            }
                        }
                    }
                    .main-center{
                        .show-content{
                            padding: 0 20px;
                            // 评论发表区域
                            .send-commit{
                                > div{
                                    margin-bottom: 10px;
                                }
                                .send-top{
                                    > div{
                                        float: left;
                                    }
                                    .add-code{
                                        border: 1px solid #f5f5f5;
                                        border-radius: 5px;
                                        position: relative;
                                        margin-left: 10px;
                                        &:hover{
                                            .add-list{
                                                display: block;
                                            }
                                        }
                                        > .code-text{
                                            position: relative;
                                            padding: 0 45px 0 15px;
                                            > div{
                                                float: left;
                                                padding: 5px 20px 5px 0;
                                                font-size: 12px;
                                                color: #5c5c5c;
                                            }
                                            > .more-img{
                                                position: absolute;
                                                top: 50%;
                                                right: 5px;
                                                margin-top: -5px;
                                                width: 10px;
                                                height: 10px;
                                                float: left;
                                            }
                                        }
                                        .add-list{
                                            position: absolute;
                                            width: 100%;
                                            height: 200px;
                                            overflow: hidden;
                                            overflow-y: auto;
                                            border-radius: 5px;
                                            border: 1px solid #f5f5f5;
                                            background-color: #fff;
                                            display: none;
                                            ul{
                                                li{
                                                    a{
                                                        padding: 10px 0 10px 20px;
                                                        box-sizing: border-box;
                                                        cursor: pointer;
                                                        &:hover{
                                                            background-color: #f5f5f5;
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                                .send-center{
                                    input{
                                        width: 98%;
                                        height: 30px;
                                        padding-left: 2%;
                                        border: 1px solid #ccc;
                                        border-radius: 5px;
                                        display: none;
                                    }
                                    .commit-comtent{
                                        width: 98%;
                                        height: 80px;
                                        resize: none;
                                        border-radius: 5px;
                                        outline: none;
                                        padding: 1%;
                                    }
                                }
                                .send-bottom{
                                    .send-btn{
                                        float: right;
                                        span{
                                            display: inline;
                                            color: #ccc;
                                        }
                                        a{
                                            display: inline;
                                            padding: 5px 10px;
                                            margin-left: 20px;
                                            color: #fff;
                                            border-radius: 5px;
                                            background-color: red;
                                            &:hover{
                                                background-color: #d64033;
                                            }
                                        }
                                    }
                                }
                            }
                            // 评论展示区
                            .show-commit{
                                margin-top: 30px;
                                border: 1px dashed #e0e0e0;
                                .show-list{
                                    padding: 10px;
                                    ul{
                                        padding: 20px 20px 0;
                                        li{
                                            //博主评论内容
                                            .commit-content{
                                                // 博主信息
                                                font-size: 14px;
                                                .commit-top{
                                                    // 此时这个行高即为图片高度加上 图片上下margin和
                                                    line-height: 32px;
                                                    border-bottom: 1px dashed #e3e3e3;
                                                    >a{
                                                        float: left;
                                                        &:hover p{
                                                            color: #d64033;
                                                            text-decoration: underline;
                                                        }
                                                        img{
                                                            float: left;
                                                            width: @commtH;
                                                            height: @commtH;
                                                            margin: 5px 5px 5px 0;
                                                            border-radius: 50%;
                                                        }
                                                        p{
                                                            float: left;
                                                        }
                                                    }
                                                    .opa-list-b{
                                                        float: left;
                                                        a{
                                                            float: left;
                                                            margin: 0 15px;
                                                            img{
                                                                width: 25px;
                                                                height: 25px;
                                                            }
                                                        }
                                                    }
                                                    .time-info{
                                                        float: right;
                                                        span{
                                                            display: inline;
                                                            color: #777;
                                                        }
                                                    }
                                                }
                                                // 博主评论内容
                                                .commit-center{
                                                    padding-left: 10px;
                                                    margin: 10px 0;
                                                    line-height: 23px;
                                                    color: #4d4d4d;
                                                }
                                                .commit-bottom{
                                                    .opa-list-b{
                                                        float: right;
                                                        a{
                                                            float: left;
                                                            margin: 0 15px;
                                                            img{
                                                                width: @commtH;
                                                                height: @commtH;
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                            // 博主评论回复内容
                                            ul{
                                                li{
                                                    .reply-top{
                                                        line-height: @replyH;
                                                        a{
                                                            float: left;
                                                            &:hover p{
                                                                color: #169fe6;
                                                                text-decoration: underline;
                                                            }
                                                            img{
                                                                float: left;
                                                                width: @replyH;
                                                                height: @replyH;
                                                                border-radius: 50%;
                                                                margin: 0 5px;
                                                            }
                                                        }
                                                        > p{
                                                            margin-left: 5px;
                                                        }
                                                        p{
                                                            float: left;
                                                            font-size: 12px;
                                                            color: #777;
                                                        }
                                                        .reply-time{
                                                            margin-left: 10px;
                                                        }
                                                    }
                                                    .reply-center{
                                                        font-size: 11px;
                                                        color: #777;
                                                        padding-left: 20px;
                                                        margin: 6px 0;
                                                        line-height: 20px;
                                                    }
                                                    .reply-bottom{
                                                        .reply-opa-list{
                                                            float: right;
                                                            a{
                                                                float: left;
                                                                margin: 0 15px;
                                                                img{
                                                                    width: @replyH;
                                                                    height: @replyH;
                                                                }
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }  
                    .main-bottom{
                        background: #fff;
                        .recommend-blog{
                            >a{
                                border: 1px solid #e3e3e3;
                                border-left: none;
                                border-right: none;
                                .blog-content{
                                    padding: 15px;
                                    .blog-title{
                                        font-size: 18px;
                                        height: 30px;
                                        line-height: 30px;
                                        color: #2a2a2a;
                                        padding-bottom: 5px;
                                        &:hover{
                                            color: #169fe6;
                                        }
                                        p:nth-child(1){
                                            float: left;
                                            width: 88%;
                                            font-weight: 700;
                                        }
                                        p:nth-child(2){
                                            float: right;
                                            font-size: 15px;
                                            color: #777;
                                        }
                                    }
                                    .blog-dsec{
                                        p{
                                            color: #999;
                                            font-size: 12px;
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
                #main-right{
                    width: 300px;
                    margin-left: 20px;
                    .item-title{
                        font-size: 18px;
                        padding: 10px 20px;
                        background-color: #169fe6;
                        color: #fff;
                        font-weight: normal;
                        border: 1px solid #169fe6;
                        span{
                            display: inline;
                        }
                        .item-name{
                            float: right;
                            color: #fff;
                            &:hover{
                                text-decoration: underline;
                            }
                        }
                    }

                    > div{
                        margin-bottom: 30px;
                        transition: 0.2s transform, 0.2s box-shadow;
                        background-color: #fff;
                        &:hover{
                            transform: translate3d(0, -1px, 0);
                            box-shadow: 0 6px 16px rgba(19,109,249,.3);
                        }
                    }
                    .new-item{
                        .new-item-content{
                            padding-top: 10px;
                            background-color: #fff;
                            border: 1px solid #169fe6;
                            font-weight: 700;
                            .item-top{
                                padding: 10px;
                                padding-top: 0;
                                border-bottom: 1px solid #169fe6;
                                line-height: 40px;
                                .item-info{
                                    float: left;
                                    a{
                                        img{
                                            width: 40px;
                                            height: 40px;
                                            border-radius: 50px;
                                            float: left;
                                        }
                                        span{
                                            float: left;
                                            color: #3d3d3d;
                                            margin-left: 10px;
                                            &:hover{
                                                color: #00d2db;
                                            }
                                        }
                                    }
                                    
                                }

                                .item-add{
                                    float: right;
                                    margin-right: 20px;
                                    .recommend-add{
                                        display: inline;
                                        padding: 5px;
                                        border-radius: 5px;
                                        font-size: 13px;
                                        cursor: pointer;
                                        border: 1px solid #00d2db;
                                        color: #3d3d3d;
                                        transition: background-color 0.3s;
                                        &:hover{
                                            background-color: rgba(0, 210, 219, 0.2);
                                        }
                                    }
                                }
                            }
                            .item-bottom{
                                overflow: hidden;
                                .bottom-one{
                                    border-bottom: 1px solid #169fe6;
                                }
                                > div{
                                    > div{
                                        float: left;
                                        width: 33.3%;
                                        text-align: center;
                                        font-size: 13px;
                                        span{
                                            padding: 5px 0;
                                            color: #777;
                                        }
                                    }
                                }
                            }
                        }
                    }
                    .script-item{
                        .script-item-list{
                            ul{
                                li{
                                    padding: 15px;
                                    color: #777;
                                    border-bottom: 1px solid #e3e3e3;
                                    &:hover{
                                        background-color: #169fe6;
                                        color: #fff;
                                    }
                                    &:hover a{
                                        color: #fff;
                                    }
                                    a{
                                        float: left;
                                        color: #777;
                                        &:hover{
                                            color: #ccc;
                                        }
                                    }
                                }
                            }
                        }
                    }
                    // 文章档案 和阅读排行版一个样式
                    .write-reader{
                        .item-list{
                            ul{
                                li{
                                    padding: 10px;
                                    line-height: 30px;  
                                    border-bottom: 1px solid #e3e3e3;
                                    &:hover a{
                                        color: #169fe6;
                                    }
                                    a{
                                        color: #777;
                                        transition: color 0.2s;
                                    }
                                }
                            }
                        }
                    }
                }

            }
        }
        #footer{
            text-align: center;
            padding: 50px 0;
        }
    }
}
